package com.cmrx.model.service;

import com.cmrx.model.entity.CommonPicture;
import com.cmrx.model.entity.SceneBioEvidence;
import com.cmrx.model.entity.User;

import java.util.List;

/**
 * Created by angle on 2019/2/16.
 */
public interface SceneBioEvidenceService {
    /**
     * 根据现勘id查找生物物证信息
     * @param investigationId
     * @return
     */
    List<SceneBioEvidence> queryByInvestigationId(String investigationId);

    /**
     * 生物物证统计
     * @param investigationId
     * @return
     */
    Integer queryCount(String investigationId);

    /**
     * 根据id查找生物物证信息
     * @param id
     * @return
     */
    SceneBioEvidence queryById(String id);

    /**
     * 添加生物物证信息
     * @param bioEvidence
     * @return
     */
    String addBioEvidence(SceneBioEvidence bioEvidence, User user, CommonPicture commonPicture);

    /**
     * 根据id修改生物物证信息
     * @param bioEvidence
     * @return
     */
    int updateById(SceneBioEvidence bioEvidence, User user);

    /**
     * 根据id删除生物物证信息
     * @param id
     * @return
     */
    int deleteById(String id);
}
